package com.gobo.jinghuimall.seckill.feign.fallback;

import com.gobo.common.exception.BizCodeEnum;
import com.gobo.common.utils.R;
import com.gobo.jinghuimall.seckill.feign.CouponFeignService;
import org.springframework.stereotype.Component;

/**
 * @author guanboStart
 * @date 2021/11/27 20:12
 */
@Component
public class CouponFeginServiceFallback implements CouponFeignService {
    @Override
    public R getLates3DaySession() {
        return R.error(BizCodeEnum.TO_MANY_REQUEST.getCode(),BizCodeEnum.TO_MANY_REQUEST.getMessage());
    }
}
